package kr.ac.hansung.www;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

public class CreateEventActivity extends Activity {

	EditText eEventName;

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.create_event);

		eEventName = (EditText) findViewById(R.id.editEventName);
	}

	public void mOnClick(View v) {
		switch( v.getId() ){
		case R.id.make_btn :
			Intent intent = new Intent();
			intent.putExtra("eventName", eEventName.getText().toString());
			setResult(RESULT_OK, intent);
			finish();
			break;
		}
	}
}
